package cn.aloxc.stock
import cn.aloxc.stock.context.SysContext;
class Boyistat {
  Integer rank;
  String code;
  String name;
  Double price;
  Double big;
  Double small;
  Double range;
  Double scale;
  String atype;
  String period;
  Date statdate;
  String toString()
  {
    return "${name.toString()}+[${code.toString()}]<br>";
  }
    static constraints = {
      code(maxLength:20);
      name(maxLength:20);
      atype(maxLength:50,inList:SysContext.BOYI_ATYPE)
      period(maxLength:50,inList:SysContext.BOYI_PERIOD)
    }
}
